<div class="container" ng-controller="TenderDatabaseCtrl">
    <div class="body">
        <div class="left">
            <ul>
                <li ng-repeat="operation in data.operationList">
                    <a href="{{operation.url}}" style="color:#fff;background:#1ebdff;text-decoration:none;" ng-if="operation.url == nowUrl">{{operation.name}}</a>
                    <a href="{{operation.url}}" ng-if="operation.url != nowUrl">{{operation.name}}</a>
                </li>
            </ul>
        </div>
        <div class="right">
            <form  role = "form" class = "form form-inline">
                <div class = "form-group">
                    <label class = "sr-only">用户名</label>
                    <input type = "text" class = " form-control" ng-model="data.search" placeholder = "姓名/昵称/企业名称/手机号码" id="inp">
                    <button class="btn btn-default" ng-click="searchBtn()" id="search">搜索</button>
                </div>
            </form>
            <table class="table table-bordered table-striped">
                <tr>
                    <th class="tender-th">招标公司企业名称</th>
                    <th>查看详情</th>
                </tr>
                <tr class="tender-title" ng-repeat="tender in data.tenderDatabase">
                    <td class="tender-companys" width="80%">
                        <span class="circle"></span>
                        <a class="company-name" href="#/tenderdatabasedetail">{{tender.companyName}}</a>
                        <span class="tender-date">{{tender.publishDate}}</span>
                    </td>
                    <td><a ng-disabled="tender.clickDisable" href="#/tenderdatabasedetail/{{tender.companyID}}" class="btn btn-default">查看详情</a></td>
                </tr>
            </table>
            <form  role = "form" style="float:right;margin-top:20px;">
                <div class = "form-group">
                    <label class = "sr-only">上一页</label>
                    <button class="btn btn-default" ng-disabled="data.prevDisable" ng-click="prevPageBtn()">上一页</button>
                    <label class = "sr-only">下一页</label>
                    <button class="btn btn-default" ng-disabled="data.nextDisable" ng-click="nextPageBtn()">下一页</button>
                    <label class = "sr-only">下拉列表</label>
                    <input type="number" min="1" style="width:50px;" ng-model="data.number"/>
                    <label class = "sr-only">确定</label>
                    <button class="btn btn-default" ng-click="btnClicked()">确定</button>
                </div>
            </form>
        </div>
    </div>
</div>